#include <iostream>

using namespace std;

static int a = 10;
void test1()
{
	int c = 0;
	static int b = 0;
	int n = 10;
	for(int i=0;i<n;++i)
	{
		c++;
		b++;
		a--;
	}
	cout << "b : " << b << endl;
	cout << "c : " << c << endl;
}
int main()
{
	cout << "a : " << a << endl;
	test1();
	cout << "a : " << a << endl;
	test1();
	cout << "a : " << a << endl;
	return 0;
}
